{include file="/common/vue3" /}
<form id="edit-form" class="form-horizontal" role="form" data-toggle="validator" method="POST" action="">
    <div class="form-group">
        <label for="rent_reserve_advance_day" class="control-label col-xs-12 col-sm-2">可以提前预约:</label>
        <div class="col-xs-12 col-sm-8">
            <input type="number" class="form-control" id="rent_reserve_advance_day" name="rent_reserve_advance_day" autocomplete="off" value="{$rent_reserve_advance_day|htmlentities}" data-rule="required" />
            <span class="mf_backend_field_note">提前可以放出多少天可以提前预约，单位为天 (如 5)</span>
        </div>
    </div>
    <div class="form-group">
        <label for="rent_at_least_min" class="control-label col-xs-12 col-sm-2">最少连续起订时长:</label>
        <div class="col-xs-12 col-sm-8">
            <input type="number" class="form-control" id="rent_at_least_min" name="rent_at_least_min" autocomplete="off" value="{$rent_at_least_min|htmlentities}" data-rule="required" />
            <span class="mf_backend_field_note">用户预约时间不能低于这个时间 单位为分 (如 60)</span>
        </div>
    </div>
    <div class="form-group">
        <label for="rent_at_least_min" class="control-label col-xs-12 col-sm-2">用户自主取消预约:</label>
        <div class="col-xs-12 col-sm-8">
            <input type="number" class="form-control" id="rent_refund" name="rent_refund" autocomplete="off" value="{$rent_refund|htmlentities}" data-rule="required" />
            <span class="mf_backend_field_note">用户在预约多少分钟前可以自主取消 单位为分钟 (如 15, 表示15分钟前可退款，0表示此设置无效， 用户总是可以自己取消的)</span>
        </div>
    </div>
    <div class="form-group">
        <label for="rent_at_least_min" class="control-label col-xs-12 col-sm-2">预约多少分钟前可以进入开锁:</label>
        <div class="col-xs-12 col-sm-8">
            <input type="number" class="form-control" id="unlock_inadvance_min" name="unlock_inadvance_min" autocomplete="off" value="{$unlock_inadvance_min|htmlentities}" data-rule="required" />
            <span class="mf_backend_field_note">单位分钟</span>
        </div>
    </div>
    <div class="form-group">
        <label for="rent_at_least_min" class="control-label col-xs-12 col-sm-2">用户无责取消预约:</label>
        <div class="col-xs-12 col-sm-8">
            <input type="number" class="form-control" id="rent_cancel" name="rent_cancel" autocomplete="off" value="{$rent_cancel|htmlentities}" data-rule="required" />
            <span class="mf_backend_field_note">用户生成预约订单的时间，多少分钟内可以随意的取消，单位为分钟（如15， 表示15分钟内可以随意的退款，0表示用户不可以自主退款）</span>
        </div>
    </div>
    <div class="form-group">
        <label for="rent_at_least_min" class="control-label col-xs-12 col-sm-2">完成半小时预约增加信用分:</label>
        <div class="col-xs-12 col-sm-8">
            <input type="number" class="form-control" id="add_credit" name="add_credit" autocomplete="off" value="{$add_credit|htmlentities}" data-rule="required" />
        </div>
    </div>
    <div class="form-group">
        <label for="rent_at_least_min" class="control-label col-xs-12 col-sm-2">取消半小时预约减少信用分:</label>
        <div class="col-xs-12 col-sm-8">
            <input type="number" class="form-control" id="decline_credit" name="decline_credit" autocomplete="off" value="{$decline_credit|htmlentities}" data-rule="required" />
        </div>
    </div>
    <div class="form-group">
        <label for="rent_at_least_min" class="control-label col-xs-12 col-sm-2">每个支付分对应支付金额:</label>
        <div class="col-xs-12 col-sm-8">
            <input type="number" class="form-control" id="refund_money" name="refund_money" autocomplete="off" value="{$refund_money|htmlentities}" data-rule="required" />
        </div>
    </div>
    <div class="form-group">
        <label for="rent_at_least_min" class="control-label col-xs-12 col-sm-2">充值赠送比例:</label>
        <div class="col-xs-12 col-sm-8">
            <input type="number" class="form-control" id="recharge_bonus" name="recharge_bonus" autocomplete="off" value="{$recharge_bonus|htmlentities}" data-rule="required" />
            <span class="mf_backend_field_note">输入数据0-100， 10表示赠送比例为10%</span>
        </div>
    </div>
    <div class="form-group">
        <label for="rent_at_least_min" class="control-label col-xs-12 col-sm-2">信用分退订规则说明:</label>
        <div class="col-xs-12 col-sm-8">
            <textarea id="c-cancel_rule" class="form-control editor" rows="5" name="cancel_rule" cols="50">{$cancel_rule|htmlentities}</textarea>
        </div>
    </div>
    <div class="form-group layer-footer">
        <label class="control-label col-xs-12 col-sm-2"></label>
        <div class="col-xs-12 col-sm-8">
            <button type="submit" class="btn btn-primary">{:__('OK')}</button>
            <button type="reset" class="btn btn-default">{:__('Reset')}</button>
        </div>
    </div>
</form>
<style>
    .mf_backend_field_note {
        display: block;
        margin-top: 0.5rem;
        color: #838fa1;
        font-size: 1.2rem;
    }
</style>
<style>
.el-row {
  margin-bottom: 10px;
}
.demo-tabs > .el-tabs__content {
  padding: 32px;
  color: #6b778c;
  font-size: 14px;
  font-weight: 600;
}
</style>
